/**
 * @file
 * Navigation Styling
 */


/*
 * The active item in a Drupal menu
 */
li a.active {
  color: #000;
}

/*
 * Navigation bar
 */
#navigation {
  /* overflow: hidden; /* Sometimes you want to prevent overlapping with main div. */
}

#navigation ul.links, /* Main menu and secondary menu links */
#navigation .content ul /* Menu block links */ {
  margin: 0;
  padding: 0;
  text-align: left; /* LTR */
}

#navigation ul.links li, /* A simple method to get navigation links to appear in one line. */
#navigation .content li {
  float: left; /* LTR */
  padding: 0 10px 0 0; /* LTR */
}

.region-navigation {
}

/*
 * Main menu and Secondary menu links
 */
#main-menu {
}

#secondary-menu {
  float: right;
}

/*
 * Menu blocks
 */
.block-menu {
}

/*
 * "Menu block" blocks
 *
 * Drupal core has limited ways in which it can display its menus. To get around
 * these limitations, see http://drupal.org/project/menu_block
 */
.block-menu-block {
}

/* by nevor */
#navlinks {
	margin: 0;
	height: 20px;
	padding: 0;
	background-color: #e5e5e5;
	border-color: white;
    border-style: solid;
    border-width: 4px 2px;
}

#navlinks ul{
    list-style: none outside none;
    text-align: center;
	padding: 0;
	margin: 0;
}

#navlinks ul li {
	display: inline;
	float: left; /* LTR */
	position: relative;
	z-index: 1;
	padding: 0;
	width: 120px;
}

#navlinks ul li a{
	background-color: #e5e5e5;
	color: #808080 !important;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: normal;
	font-family: 黑体;
	line-height: 20px;
	border-left: 2px solid #e5e5e5;
	border-right: 2px solid #e5e5e5;
	display: block;
}

#navlinks ul li a:hover, #navlinks ul li a.hover, #navlinks ul li a.active-trail{
    background-color: #399fe9;
    color: white !important;
	border-left: 2px solid white;
	border-right: 2px solid white;
}

/* Hide first sublevel */
#navlinks ul li.expanded ul {
	display: none;
	background: url("../images/menushadow.png") no-repeat scroll 7px 5px transparent;
	padding: 0 7px 5px 0 !important;
    position: absolute;
    width: 120px;
    z-index: 99;
}

#navlinks ul li.expanded ul li {
    margin: 0;
    padding: 0;
    width: 120px;
    z-index: 99;
}
#navlinks ul li ul li a{
	background-color: #399fe9;
    color: white !important;
	border: 2px solid white;
	border-bottom: none;
}
#navlinks ul li ul li a:hover {
    background-color: #c6e7ff;
}

#navlinks a {
    text-decoration: none;
	text-align: center;
}